<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">
	
<ui:composition>
	<rich:spacer height="8" />
 <f:subview >
  <!--<table style="font-size: " align="right" border="1"></table>-->   
		<!-- Bang du lieu -->
		<h:form>
			<div style="width: 97%;">
					<h:dataTable id="list" value="#{beanTruyVanHinhAnh.list}" var="item" 
								columnClasses="column" headerClass="TableHeader" rowClasses="ROW1,ROW2" footerClass="TableFooter" 
					       style="width:100%; margin-left:0px;margin-top: 0px" cellspacing="1px;" rows="1">
						
						<h:column>
							<f:facet name="header">
								<h:outputText value="Thông tin"></h:outputText>
							</f:facet>
								<h:outputText value="#{item.info}" escape="false"></h:outputText>
							<f:facet name="footer">
								<rich:spacer></rich:spacer>
							</f:facet>
						</h:column>
						<h:column>
						   <f:facet name="header">
								<h:outputText value="Ảnh"></h:outputText>
							</f:facet>
								<h:graphicImage value="#{item.pathImage}" alt=""></h:graphicImage>
						</h:column>
						
					</h:dataTable>
						<!-- phan trang -->
						<rich:datascroller align="right"  for="list" maxPages="10" />
						<!-- ket thuc phan trang -->
						</div>
				</h:form>
		<!-- Ket thuc bang du lieu -->
</f:subview>	
</ui:composition>
</html>

